<template>
    <div class="pages">
        <van-sticky>
            <div class="header">
                <div class="fls" @click="$router.back(-1)">
                    <img src="../../../static/images/icon-back.png" alt="">
                </div>
                <div class="centern">我的资料</div>
                <div class="fls"></div>
            </div>
        </van-sticky>

        <div class="my_body">
            <div class="headerlist">
                <img src="../../../static/images/icon-team.png" alt="">
                <div class="names">团队信息</div>
            </div>

            <div class="dutuies">
                <div class="toptuan">
                    <div class="t_fl">所属团队</div>
                    <div class="t_fr">职务</div>
                </div>
                <div class="btn_set">
                    <div class="btn_fl">团队名称</div>
                    <div class="btn_fr">职务名称</div>
                </div>
            </div>

            <div class="headerlist">
                <img src="../../../static/images/icon-grxx.png" alt="">
                <div class="names">个人信息</div>
            </div>

            <div class="testname margin">
                <div class="tes_fl">姓名</div>
                <div class="tes_fr">姓名</div>
            </div>
            <div class="testname">
                <div class="tes_fl">身份证</div>
                <div class="tes_fr">123456789</div>
            </div>

        </div>
        <div class="niceckead">
            <van-button type="primary"  color="#3288FF"  @click="close()" block>退出当前团队</van-button>
            <!-- <div class="isok" @click="close()">确定</div> -->
        </div>
    </div>
</template>

<script>
import Vue from 'vue'
import api from '../../api/PublicInterface'
Vue.prototype.$api = api
export default {
    beforeCreate () {
        document.querySelector('body').setAttribute('style', 'background:#fff')
    },
}
</script>

<style scoped>
    .pages{
        width: 100%;
    }
    .header{
        width: 100%;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        box-sizing: border-box;
        background: #3288FF;
    }
    .header>.fls{
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header>.fls>img{
        width: 100%;
        height: 100%;
    }
    .centern{
        color: #FFFFFF;
        font-family: OPPOSans;
        font-weight: medium;
        font-size: 17px;
        letter-spacing: 0px;
    }

    .my_body{
        width: 100%;
        padding: 0 16px 16px 16px;
        box-sizing: border-box;
    }
    .headerlist{
        width: 100%;
        display: flex;
        align-items: center;
        margin-top: 24px;
    }
    .headerlist>img{
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }
    .headerlist>.names{
        color: #333333;
        font-family: OPPOSans;
        font-weight: medium;
        font-size: 17px;
        letter-spacing: 0px;
    }
    .dutuies{
        width: 100%;
        padding: 8px 24px;
        box-sizing: border-box;
        border-radius: 4px;
        background: linear-gradient(90.28deg, #4895FF 0%, #2A84FF 100%);
        margin-top: 16px;
    }
    .toptuan{
        width: 100%;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .toptuan>.t_fl{
        color: #FFFFFF;
        font-family: OPPOSans;
        font-weight: regular;
        font-size: 15px;
        letter-spacing: 0px;
    }
    .toptuan>.t_fr{
        color: #FFFFFF;
        font-family: OPPOSans;
        font-weight: regular;
        font-size: 15px;
        letter-spacing: 0px;
    }
    .btn_set{
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #FFFFFF;
        font-family: OPPOSans;
        font-weight: medium;
        font-size: 20px;
        letter-spacing: 0px;
    }

    .margin{
        margin-top: 12px;
    }

    .testname{
        width: 100%;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #F2F2F2;
    }
    .testname>.tes_fl{
        width: 30%;
        color: #333333;
        font-family: OPPOSans;
        font-weight: regular;
        font-size: 16px;
        letter-spacing: 0px;
    }

    .testname>.tes_fr{
        width: 70%;
        color: #828282;
        font-family: OPPOSans;
        font-weight: regular;
        font-size: 16px;
        letter-spacing: 0px;
    }

    .niceckead{
        width: 100%;
        margin-top: 40px;
        padding: 0 16px;
        box-sizing: border-box;
    }
    .isok{
        width: 100%;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        background: #3288FF;
        color: #FFFFFF;
        font-family: OPPOSans;
        font-weight: medium;
        font-size: 16px;
        letter-spacing: 0px;
    }

</style>